Fix up enforce_dom0_cpu test case to check that dom0 has at least 2 vcpus
authorRyan Harper <ryanh@us.ibm.com>
Thu, 11 May 2006 12:49:20 +0000 (13:49 +0100)
committerRyan Harper <ryanh@us.ibm.com>
Thu, 11 May 2006 12:49:20 +0000 (13:49 +0100)
commit6cd2d711bee124a2305c7e75d642ed9f270bfdc5
tree7bec477094e90ab8e77801af04ae834e18673338
parent3ae4dcdda2e0a7d3c41caccccfe3937db788a077
Fix up enforce_dom0_cpu test case to check that dom0 has at least 2 vcpus
online.  Also fix bogus call to vcpu-enable; xm now uses vcpu-set as method for
enable/disable of vcpus.  Previously after a successful test run, this test
would not leave dom0 in the same state as it was when the test started.  Also
some comment language changes and 80 column formatting.
tools/xm-test/tests/enforce_dom0_cpus/01_enforce_dom0_cpus_basic_pos.py